package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.TbDictionary;

/**
 * 数据字典Mapper接口
 * 
 * @author lzd
 * @date 2024-09-10
 */
public interface TbDictionaryMapper 
{
    /**
     * 查询数据字典
     * 
     * @param dictionaryId 数据字典主键
     * @return 数据字典
     */
    public TbDictionary selectTbDictionaryByDictionaryId(Long dictionaryId);

    /**
     * 查询数据字典列表
     * 
     * @param tbDictionary 数据字典
     * @return 数据字典集合
     */
    public List<TbDictionary> selectTbDictionaryList(TbDictionary tbDictionary);

    /**
     * 新增数据字典
     * 
     * @param tbDictionary 数据字典
     * @return 结果
     */
    public int insertTbDictionary(TbDictionary tbDictionary);

    /**
     * 修改数据字典
     * 
     * @param tbDictionary 数据字典
     * @return 结果
     */
    public int updateTbDictionary(TbDictionary tbDictionary);

    /**
     * 删除数据字典
     * 
     * @param dictionaryId 数据字典主键
     * @return 结果
     */
    public int deleteTbDictionaryByDictionaryId(Long dictionaryId);

    /**
     * 批量删除数据字典
     * 
     * @param dictionaryIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbDictionaryByDictionaryIds(Long[] dictionaryIds);
}
